﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="UserAdd.aspx.cs" Inherits="DataLib.Accounts.UserAdd" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<link href="/Css/tab2.css" rel="Stylesheet" type="text/css" />
    <style type="text/css">
        td
        {
            height: 25px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">
<div class="tab2">
	<h1>增 加 用 户</h1>
    <table cellspacing="0" cellpadding="0" width="100%" border="0" class="one">
        <!--一个表单-->
            <tr style="color: Red; height: 50px;"><td></td><td>请详细填写下列信息，带有*的必须填写。</td></tr>
       
    	    <tr>
                <td width="150" height="25">
                    <div align="right">*用户名：</div>
                </td>
                <td height="25">
                    <asp:textbox id="txtUserName" tabIndex="1" runat="server" Width="249px" MaxLength="20"                       BorderStyle="Groove"></asp:textbox>
                    <asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" 
                    ErrorMessage="用户名不能为空" Display="Dynamic" ControlToValidate="txtUserName">
                    </asp:requiredfieldvalidator>
                </td>
	        </tr>
    	    <tr>
                <td width="150" height="25">
                    <div align="right">*密&nbsp;&nbsp;&nbsp;&nbsp;码：</div>
                </td>
                <td height="25">
                    <asp:textbox id="txtPassword" tabIndex="2" runat="server" Width="249px" MaxLength="20"                       BorderStyle="Groove" TextMode="Password">
                    </asp:textbox>
                    <asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" 
                    ErrorMessage="密码不能为空" Display="Dynamic" ControlToValidate="txtPassword">
                    </asp:requiredfieldvalidator>
                </td>
            </tr>
    	    <tr>
                <td width="150" height="25">
                    <div align="right">* 密码验证：</div>
                </td>
                <td height="25">
                    <asp:textbox id="txtPassword1" tabIndex="3" runat="server" Width="249px" MaxLength="20"  BorderStyle="Groove" TextMode="Password"></asp:textbox>
                    <asp:comparevalidator id="CompareValidator1" runat="server" ErrorMessage="两次密码输入不符" Display="Dynamic" ControlToValidate="txtPassword1"                           ControlToCompare="txtPassword"></asp:comparevalidator>
                </td>
			</tr>
    	    <tr>
                <td width="150" height="25">
                    <div align="right">* 真实姓名：</div>
                </td>
                <td height="25">
                    <asp:textbox id="txtTrueName" tabIndex="4" runat="server" Width="249px" MaxLength="20"                       BorderStyle="Groove"></asp:textbox>
                    <asp:requiredfieldvalidator id="RequiredFieldValidator3" runat="server" 
                    ErrorMessage="真实姓名不能为空" Display="Dynamic" ControlToValidate="txtTrueName">
                    </asp:requiredfieldvalidator>
                </td>
			</tr>
    	    <tr>
                <td width="150" height="25">
                    <div align="right">* 归属公司：</div>
                </td>
                <td height="25">
                    <asp:DropDownList ID="dropBelongArea" runat="server">
                        <asp:ListItem>上海</asp:ListItem>
                        <asp:ListItem>北京</asp:ListItem>
                        <asp:ListItem>广州</asp:ListItem>
                        <asp:ListItem>苏州</asp:ListItem>
                    </asp:DropDownList>
                    
                </td>
			</tr>
            <tr>
                <td>
                     <div align="right">*权限分级：</div>
                </td>
                <td>
                    <asp:DropDownList ID="dropPermiessLev" runat="server"></asp:DropDownList>
                </td>
            </tr>
                	    <tr>
                <td width="150" height="25">
                    <div align="right">* 部门：</div>
                </td>
                <td height="25">
                                       <asp:DropDownList ID="dropDepart" runat="server">
                                    </asp:DropDownList>
</td>
			</tr>
                   	    <tr>
                <td width="150" height="25">
                    <div align="right">* 职务：</div>
                </td>
                <td height="25">
                   <asp:DropDownList ID="dropUserType" runat="server">
 
                         
                    </asp:DropDownList>
                   </td>
			</tr>
    	    <tr>
                <td align="right" width="150" height="25">用户性别：
                </td>
                <td height="25"><FONT face="宋体">&nbsp;&nbsp;&nbsp;
                    <asp:radiobutton id="RadioButton1" runat="server" GroupName="optSex" Checked="True" Text="男">
                    </asp:radiobutton>&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:radiobutton id="RadioButton2" runat="server" GroupName="optSex" Text="女">
                    </asp:radiobutton></FONT>
                </td>
            </tr>
    	    <tr>
                <td width="150" height="25">
                    <div align="right">联系电话：</div>
                </td>
                <td style="HEIGHT: 3px" height="3">
                    <asp:TextBox id="txtPhone" runat="server" Width="200px"></asp:TextBox>
                </td>
            </tr>
    	    <tr>
                <td width="150" height="25">
                    <div align="right">电子邮箱：</div>
                </td>
                <td height="25"><asp:textbox id="txtEmail" runat="server" Width="200px"></asp:textbox>
                </td>
            </tr>
    	    
 
    </table>

<table cellspacing="0" cellpadding="0" width="100%" border="0">
    <tr>
        <td width="200"></td>
        <td>
            <div>
                <asp:button id="btnAdd" runat="server" Text="· 提交 ·" onclick="btnAdd_Click">
                </asp:button>
                <input type="button" name="button1" value="· 返 回 ·" onclick="history.back()" />
            </div>
        </td>
    </tr>
</table>
</div>
</asp:Content>
